﻿@model List<Model.Historical>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0 minimal-ui" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>我的全部试题</title>
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="~/shouji/images/splash/splash-icon.png">
    <link rel="apple-touch-icon-precomposed" sizes="180x180" href="~/shouji/images/splash/splash-icon-big.png">
    <link rel="apple-touch-startup-image" href="~/shouji/images/splash/splash-screen.png" media="screen and (max-device-width: 320px)" />
    <link rel="apple-touch-startup-image" href="~/shouji/images/splash/splash-screen@2x.png" media="(max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)" />
    <link rel="apple-touch-startup-image" href="~/shouji/images/splash/splash-screen-six.png" media="(device-width: 375px)">
    <link rel="apple-touch-startup-image" href="~/shouji/images/splash/splash-screen-six-plus.png" media="(device-width: 414px)">
    <link rel="apple-touch-startup-image" sizes="640x1096" href="~/shouji/images/splash/splash-screen@3x.png" />
    <link rel="apple-touch-startup-image" sizes="1024x748" href="~/shouji/images/splash/splash-screen-ipad-landscape" media="screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : landscape)" />
    <link rel="apple-touch-startup-image" sizes="768x1004" href="~/shouji/images/splash/splash-screen-ipad-portrait.png" media="screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : portrait)" />
    <link rel="apple-touch-startup-image" sizes="1536x2008" href="~/shouji/images/splash/splash-screen-ipad-portrait-retina.png" media="(device-width: 768px)	and (orientation: portrait)	and (-webkit-device-pixel-ratio: 2)" />
    <link rel="apple-touch-startup-image" sizes="1496x2048" href="~/shouji/images/splash/splash-screen-ipad-landscape-retina.png" media="(device-width: 768px)	and (orientation: landscape)	and (-webkit-device-pixel-ratio: 2)" />
    <link href="~/shouji/styles/style.css" rel="stylesheet" type="text/css">
    <link href="~/shouji/styles/framework.css" rel="stylesheet" type="text/css">
    <link href="~/shouji/styles/owl.theme.css" rel="stylesheet" type="text/css">
    <link href="~/shouji/styles/swipebox.css" rel="stylesheet" type="text/css">
    <link href="~/shouji/styles/font-awesome.css" rel="stylesheet" type="text/css">
    <link href="~/shouji/styles/animate.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.8.2/jquery.min.js"></script>
    <script type="text/javascript" src="~/shouji/scripts/jqueryui.js"></script>
    <script type="text/javascript" src="~/shouji/scripts/framework.plugins.js"></script>
    <script type="text/javascript" src="~/shouji/scripts/custom.js"></script>
    <link href="~/bootstrap-3.3.6/dist/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
    <div id="preloader">
        <div id="status">
            <p class="center-text">
                正在加载……
                <em>请稍后!</em>
            </p>
        </div>
    </div>


    <ul class="menu-top">
        <li><a href="/AppPhone/App/Index2"><i class="fa fa-home"></i>首页<i class="fa fa-circle"></i></a></li>
        <li><a href="/AppPhone/AppSheet/Index"><i class="fa fa-home"></i>答题<i class="fa fa-circle"></i></a></li>
        <li><a href="/AppPhone/AppHistory/GetHistory"><i class="fa fa-envelope-o"></i>历史记录<i class="fa fa-circle"></i></a></li>
    </ul>
    <div class="header">
        <a href="#" style=" float: left; margin-top: 22px; margin-left: 30px; font-size: 25px; color: white; font-weight: bolder;">dotNet真题实战</a>
        <a href="#" class="header-navigation show-navigation"><i class="fa fa-navicon"></i></a>
        @*<a href="/AppPhone/AppSheet/Index" style="margin-left:500px;margin-top:10px;"><input type="button" class="button button-blue" value="答题" /></a>
        <a href="/AppPhone/AppHistory/GetHistory" style="margin-left:700px;margin-top:-35px;"><input type="button" class="button button-blue" value="历史记录" /></a>*@
    </div>
    <div class="header-clear-big">

    </div>


    <div class="content">
        <div class="portfolio-one">
            <div>
                <h3 style="text-align:center;">我的全部试题</h3>
                <a href="/AppPhone/AppHistory/GetHistory" style="float:right;margin-top:10px;" class="btn btn-danger">
                    我已掌握
                </a>
                <a href="/AppPhone/AppHistory/Index" style="float:right;margin-right:15px;margin-top:10px;" class="btn btn-danger">
                    我的标记
                </a>
            </div>
            @foreach (var i in @ViewBag.significance)
            {
                <div class="portfolio-one-item full-bottom" style="margin-top:10px;">

                    <em class="subtitle">【@i.Tid】@i.Ename</em>
                    <div class="portfolio-one-details">
                        <a href="#">@i.Datime</a>
                    </div>
                    <h3>参考答案</h3>
                    <p class="half-bottom">
                        @i.Eresult
                    </p>
                    <div class="portfolio-one-links">
                        <a href="/AppPhone/AppHistory/EditHistory/@i.Hid">设为标记 <i class="fa fa-link"></i></a>
                    </div>

                </div>
                <div class="decoration"></div>
            }
            <center style="margin-bottom:10px;">
                <div style="margin-bottom:10px;">
                    @*分页*@
                    @if (ViewBag.Index != 1)
                    {
                        <a style="margin-bottom:10px;" class="btn btn-default" role="button" href="/AppPhone/AppHistory/GetAll/?Index=@(ViewBag.Index-1)&@ViewBag.se">上一页</a>
                    }

                    @for (int i = 0; i < ViewBag.PageCount; i++)
                    {
                        <a style="margin-bottom:10px;" class="btn btn-default" role="button" href="/AppPhone/AppHistory/GetAll/?Index=@(i+1)&@ViewBag.se">@(i + 1)</a>
                    }

                    @if (ViewBag.Index < ViewBag.PageCount)
                    {
                        <a style="margin-bottom:10px;" class="btn btn-default" role="button" href="/AppPhone/AppHistory/GetAll/?Index=@(ViewBag.Index + 1)&@ViewBag.se">下一页</a>

                    }
                    总题数:@ViewBag.SizeCount


                </div>
            </center>

        </div>
    </div>
    <script src="~/bootstrap-3.3.6/dist/js/jquery.min.js"></script>
    <script src="~/bootstrap-3.3.6/dist/js/bootstrap.min.js"></script>
</body>
</html>
